
export const EVT_NOTE_CLICKED = Symbol();
export const EVT_HIDE_CLICKED = Symbol();
export const EVT_NEW_NOTE_CLICKED = Symbol();
export const EVT_SEARCH_CLICKED = Symbol();
export const EVT_SETTINGS_CLICKED = Symbol();

export function NoteClickedEvent(PID) {
    return Object.freeze({
        type: EVT_NOTE_CLICKED,
        get PID() {return PID;},
    });
}
export function HideClickedEvent() {
    return Object.freeze({
        type: EVT_HIDE_CLICKED,
    });
}
export function NewNoteClickedEvent() {
    return Object.freeze({
        type: EVT_NEW_NOTE_CLICKED,
    });
}
export function SearchClickedEvent() {
    return Object.freeze({
        type: EVT_SEARCH_CLICKED,
    });
}
export function SettingClickedEvent() {
    return Object.freeze({
        type: EVT_SETTINGS_CLICKED,
    });
}
